//
//  LogInViewController.h
//  ICard
//
//  Created by fanshao on 11-2-27.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface LogInViewController : UIViewController <UITextFieldDelegate>{
	UITextField *userNameTextField;
	UITextField *passwordTextField;
	
	UIButton *logInButton;
	UIButton *forgotPasswordButton;
	
	NSString *userName;
	NSString *password;
	
	NSMutableData *receivedData;
	id delegate;
}

@property(nonatomic, retain) IBOutlet UITextField *userNameTextField;
@property(nonatomic, retain) IBOutlet UITextField *passwordTextField;

@property(nonatomic, retain) IBOutlet UIButton *logInButton;
@property(nonatomic, retain) IBOutlet UIButton *forgotPasswordButton;


@property (assign) id delegate;
@property (nonatomic, retain) NSMutableData *receivedData;
- (IBAction)logInSever:(id)sender;
- (IBAction)forgotPassword:(id)sender;

@end
